<?php

use \Duxravel\Core\Facades\Menu;

Menu::add('test', [
    'name' => '测试',
    'icon' => '<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M967.111111 113.777778v682.666666H56.888889V113.777778h910.222222zM113.777778 170.666667v568.888889h796.444444V170.666667H113.777778z" fill="#d81e06" ></path><path d="M170.666667 853.333333h682.666666v56.888889H170.666667z" fill="#d81e06"></path><path d="M665.6 648.533333l-39.822222-45.511111L773.688889 455.111111 625.777778 307.2l39.822222-45.511111L853.333333 455.111111zM358.4 648.533333l39.822222-45.511111L250.311111 455.111111 398.222222 307.2l-39.822222-45.511111L170.666667 455.111111zM540.899556 221.866667l55.182222 13.824L483.157333 688.355556l-55.182222-13.767112z" fill="#d81e06"></path></svg>',
    'order' => 10,
], function () {
    Menu::group([
        'name' => '设置',
        'order' => 0,
    ], function () {
       Menu::link('表单测试', 'admin.test.index');
       Menu::link('表单列表', 'admin.test.lists');
       Menu::link('文档列表', 'admin.test.doc');
    });
});


